<!DOCTYPE html>
<html>
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="gray-bg">
	<div class="wrapper wrapper-content animated fadeInRight">
		<div class="row">
			<div class="col-sm-12">
				<div class="ibox-content">
					<form class="form-horizontal m-t" id="signupForm">
						<input id="sysUserId" name="sysUserId" th:value="${user.sysUserId}" type="hidden">
						<div class="col-sm-6">
							<div class="form-group">
								<label class="col-sm-3 control-label">序号：</label>
								<div class="col-sm-8">
									<input id="id" name="id" class="form-control" type="text"
										   th:value="${user.id}" readonly>
								</div>
							</div>
						</div>
						<div class="col-sm-6">
							<div class="form-group">
								<label class="col-sm-3 control-label">学号：</label>
								<div class="col-sm-8">
									<input id="userId" name="userId" class="form-control"
										   type="text" th:value="${user.userId}" readonly>
								</div>
							</div>
						</div>

						<div class="col-sm-6">
							<div class="form-group">
								<label class="col-sm-3 control-label">姓名：</label>
								<div class="col-sm-8">
									<input id="name" name="name" class="form-control" type="text"
										   th:value="${user.name}">
								</div>
							</div>
						</div>
						<div class="col-sm-6">
							<div class="form-group">
								<label class="col-sm-3 control-label">登录名：</label>
								<div class="col-sm-8">
									<input id="userName" name="userName" class="form-control"
										   type="text" th:value="${user.userName}">
								</div>
							</div>
						</div>

<!--						<div class="col-sm-6">-->
<!--							<div class="form-group">-->
<!--								<label class="col-sm-3 control-label">密码：</label>-->
<!--								<div class="col-sm-8">-->
<!--									<input id="password" name="password" class="form-control"-->
<!--										   type="password" >-->
<!--								</div>-->
<!--							</div>-->
<!--						</div>-->
<!--						<div class="col-sm-6">-->
<!--							<div class="form-group">-->
<!--								<label class="col-sm-3 control-label">确认密码：</label>-->
<!--								<div class="col-sm-8">-->
<!--									<input id="confirm_password" name="confirm_password"-->
<!--										   class="form-control" type="password">-->
<!--								</div>-->
<!--							</div>-->
<!--						</div>-->

						<div class="col-sm-6">
							<div class="form-group">
								<label class="col-sm-3 control-label">性别:</label>
								<div class="col-sm-8">
									<label class="radio-inline"> <input type="radio"
																		name="sex" value="1" th:field="*{user.sex}"/> 男
									</label> <label class="radio-inline"> <input type="radio"
																				 name="sex" value="0" th:field="*{user.sex}"/> 女
								</label>
								</div>
							</div>
						</div>
						<div class="col-sm-6">
							<div class="form-group">
								<label class="col-sm-3 control-label">家长号码：</label>
								<div class="col-sm-8">
									<input id="mobile" name="mobile" class="form-control"
										   type="mobile" th:value="${user.mobile}">
								</div>
							</div>
						</div>

						<div class="col-sm-6">
							<div class="form-group">
								<label class="col-sm-3 control-label">班级：</label>
								<div class="col-sm-8">
									<input id="unitSave" name="unitSave" class="form-control"
										   type="hidden" th:value="${user.unit}">
									<select data-placeholder="--选择班级--" name="unit" id="unit"
											class="form-control chosen-select" tabindex="2">
										<option value="">-- 选择班级 --</option>
										<option value="1">一年级</option>
										<option text="二年级" value="2">二年级</option>
										<option text="三年级" value="3">三年级</option>
										<option text="四年级" value="4">四年级</option>
										<option text="五年级" value="5">五年级</option>
										<option text="六年级" value="6">六年级</option>
									</select>
								</div>
							</div>
						</div>
						<input type="hidden" name="type" id="type" value="2">

						<div class="form-group">
							<div class="col-sm-5 col-sm-offset-5">
								<button type="submit" class="btn btn-primary">提交</button>
							</div>
						</div>
					</form>
				</div>
			</div>
		</div>
	</div>
	<div th:include="include::footer"></div>
	<script type="text/javascript" src="/js/appjs/manager/student/edit.js">
	</script>
</body>
</html>
